Skip to content

Repo: Update to Rust 1.95#3328

Merged
smalis-msft merged 6 commits intomicrosoft:mainfrom
smalis-msft:rust-195
Apr 21, 2026
Merged

Repo: Update to Rust 1.95#3328
smalis-msft merged 6 commits intomicrosoft:mainfrom
smalis-msft:rust-195

Conversation

@smalis-msft
Copy link
Copy Markdown
Contributor

This will likely be the version of Rust we take to our next release fork.

Copilot AI review requested due to automatic review settings April 20, 2026 13:00
@smalis-msft smalis-msft requested review from a team as code owners April 20, 2026 13:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s Rust toolchain baseline to Rust 1.95 across workspace metadata, local dev environments, and CI pipeline bootstrap steps, aligning the build/CI toolchain with the upcoming release fork target.

Changes:

  • Bump workspace rust-version to 1.95 (root workspace and xsync workspace).
  • Update Nix dev-shell Rust version to 1.95.0.
  • Update Flowey/CI bootstrap toolchain references to 1.95.0 (GitHub Actions + ADO ci-flowey pipeline YAML).

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Cargo.toml Updates root workspace minimum supported Rust version to 1.95.
xsync/Cargo.toml Updates xsync workspace minimum supported Rust version to 1.95.
shell.nix Updates Nix shell Rust toolchain to 1.95.0.
flowey/flowey_lib_hvlite/src/cfg_rustup_version.rs Updates Flowey’s central rustup toolchain version constant to 1.95.0.
ci-flowey/openvmm-pr.yaml Updates ADO pipeline bootstrap rustup toolchain to 1.95.0.
.github/workflows/openvmm-pr.yaml Updates GHA PR workflow rustup toolchain to 1.95.0.
.github/workflows/openvmm-pr-release.yaml Updates GHA PR-release workflow rustup toolchain to 1.95.0.
.github/workflows/openvmm-docs-pr.yaml Updates GHA docs PR workflow rustup toolchain to 1.95.0.
.github/workflows/openvmm-docs-ci.yaml Updates GHA docs CI workflow rustup toolchain to 1.95.0.
.github/workflows/openvmm-ci.yaml Updates GHA CI workflow rustup toolchain to 1.95.0.
.github/workflows/copilot-setup-steps.yml Updates Copilot agent setup rustup toolchain to 1.95.0.

Comment thread shell.nix
Comment on lines 61 to 64
# Rust configuration — update this version manually when upgrading rustc
rustVersion = "1.94.0";
rustVersion = "1.95.0";

rust = pkgs.rust-bin.stable.${rustVersion}.default.override {
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shell.nix hard-codes rustVersion rather than deriving it from the root Cargo.toml workspace.package.rust-version, but the Guide currently claims the Nix shell derives the Rust version from Cargo.toml and that rust-overlay is pinned. This mismatch can cause future version bumps to miss updating one source of truth or follow incorrect instructions; please either update the Guide to match the current behavior or change shell.nix to derive the version from Cargo.toml (and/or pin rust-overlay as documented).

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot AI review requested due to automatic review settings April 20, 2026 15:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread flowey/flowey_lib_hvlite/src/_jobs/test_local_flowey_build_igvm.rs
@smalis-msft smalis-msft added the release-ci-required Add to a PR to trigger PR gates in release mode label Apr 20, 2026
Copilot AI review requested due to automatic review settings April 20, 2026 15:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread flowey/flowey_lib_hvlite/src/_jobs/test_local_flowey_build_igvm.rs
@smalis-msft smalis-msft enabled auto-merge (squash) April 20, 2026 16:33
@smalis-msft smalis-msft disabled auto-merge April 20, 2026 16:52
@smalis-msft smalis-msft merged commit 5019273 into microsoft:main Apr 21, 2026
112 of 115 checks passed
@smalis-msft smalis-msft deleted the rust-195 branch April 21, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-ci-required Add to a PR to trigger PR gates in release mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants